package com.ftf.tp.message.application.assembler;

import com.ftf.tp.message.application.dto.message.domain.ActionEvent;
import com.ftf.tp.message.domain.directMessage.dos.NoticeEventDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author tanghao
 * @date 2022/9/2
 */
@Mapper
public interface NoticeAssembler {

    NoticeAssembler INSTANCE = Mappers.getMapper(NoticeAssembler.class);

    NoticeEventDO eventToDO(ActionEvent actionEvent);
}
